Getting Legend Image

Layer images and names are retrieved from the current Map Composition and displayed in the box
to the right of the map. The Layer images and names can be used to construct a map legend.